<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../../css/tabBar.css">
    <link rel="stylesheet" type="text/css" href="../comm/swiper.min.css">
    <link rel="stylesheet" type="text/css" href="../comm/shop_comm.css"/>
    <link rel="stylesheet" type="text/css" href="./css/address.css">
    <link rel="stylesheet" type="text/css" href="../comm/xy-pop.css">
    <title>我的收货地址</title>
    <style type="text/css">
    	[v-cloak]{
    		display: none !important;
    	}
    </style>
</head>

<body>
	<div class="header navigationBar">
      	<div class="wrapper">
          	<span id="btn-back-new" class="header-btn left-btn backtrack"></span>
          	<span class="title">我的收货地址</span>
      	</div>
  	</div>
  	<div class="container top-container" v-cloak>
  		<div class="address-null" ref="addressNull" style="display: none;">
  			<img src="../../../image/shop/buy/buy-79.png"/>
  			<h2>你还没有收货地址，快去添加吧！</h2>
  			<p>让我们知道你的收货地址</p>
  		</div>
  		<ul class="address-list" v-if="list != ''" ref="addressList">
  			<li v-for="(item,index) in list">
  				<div class="address-list-info">
  					<h2><b v-html="item.name">发了会计师拉德芳斯离开飞机上了看见</b><span v-html="item.phone">123325325</span></h2>
  					<p v-html="item.province + item.city + item.district + item.address"></p>
  				</div>
  				<div class="address-list-btn">
  					<label @click="addressSetDef" :data-id="item.address_id">
						<input type="radio" name="radio" value="" class="aui-checkbox" :checked="item.status == 1 ? 'checked' : ''" />
						<span v-html="item.status == 1 ? '默认地址' : '设为默认地址'"></span>
  					</label>
  					<a href="javascript:void(0);" @click="addressListEdit" :data-id="item.address_id" :data-index="index">
  						<img src="../../../image/shop/buy/buy-41.png"/>编辑
  					</a>
  					<a href="javascript:void(0);" @click="addressListDel" :data-id="item.address_id" :data-index="index">
  						<img src="../../../image/shop/buy/buy-38.png"/>删除
  					</a>
  				</div>
  			</li>
  		</ul>
  		<a href="javascript:void(0);" class="address-select-btn" @click="addressNewAdd">+增加收货地址</a>
  	</div>
</body>
<script src="../../sea.js" data-main="../../main"></script>
<script type="text/javascript" src="../../vue.js"></script>
<script type="text/javascript" src="./js/address.js"></script>
</html>
